Package-level declarations

Properties

Link copied to clipboard

Returns the handler of the given item stack, if available. This item stack is not the staff item stack, but the one can be inserted into the staff.

Link copied to clipboard
@get:JvmName(name = "hasHandlerOfStaff")
val ItemStack.hasHandlerOfItem: Boolean

Returns if the given staff item stack has a registered handler. This item stack is not the staff item stack, but the one can be inserted into the staff.

Link copied to clipboard
@get:JvmName(name = "isItemInStaff")
val ItemStack.isItemInStaff: Boolean

Checks if an item is added the given staff item stack.

Link copied to clipboard

Gets or sets the item added to the given staff item stack.

Functions

Link copied to clipboard
inline operator fun <L, R> Either<L, R>.component1(): Optional<L>
inline operator fun <F, S> Pair<F, S>.component1(): F
Link copied to clipboard
inline operator fun <L, R> Either<L, R>.component2(): Optional<R>
inline operator fun <F, S> Pair<F, S>.component2(): S